package com.ziyueyuwen.xiniao.bean.product;

import com.ziyueyuwen.xiniao.bean.query.PageQuery;
import com.ziyueyuwen.xiniao.enums.ProductClassRuleEnum;
import com.ziyueyuwen.xiniao.enums.ProductPeriodEnum;

import javax.validation.constraints.NotNull;

/**
 * @author wancheng  on 2019/2/25.
 */
public class ProductStudentListQuery extends PageQuery{

    @NotNull(message = "课程id不能为空")
    private Integer courseId;

    private Integer productStageId;

    private ProductClassRuleEnum classRule;

    private ProductPeriodEnum period;

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getProductStageId() {
        return productStageId;
    }

    public void setProductStageId(Integer productStageId) {
        this.productStageId = productStageId;
    }

    public ProductClassRuleEnum getClassRule() {
        return classRule;
    }

    public void setClassRule(ProductClassRuleEnum classRule) {
        this.classRule = classRule;
    }

    public ProductPeriodEnum getPeriod() {
        return period;
    }

    public void setPeriod(ProductPeriodEnum period) {
        this.period = period;
    }
}
